/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.xd.domain.query;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Objects;

/**
 *
 *
 * @author zgy
 * @date 2022-1-11
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class TechniqueByIdQuery {
    /**
     * 生产工艺id
     */
    private Long techniqueId;

    private Boolean withDocument;

    private Boolean withFlowHandleInfo;

    public Boolean getWithFlowHandleInfo() {
        return Objects.equals(true, withFlowHandleInfo);
    }

    public Boolean getWithDocument() {
        return Objects.equals(true, withDocument);
    }
}
